package net.zjitc.interfaces.transport;

/**
 * @Author admin
 * @Date 2019/3/26 14:52
 */
public class Test {
    public static void main(String[] args) {
        Express express=new Express("HX0001",800);
        express.sendBefore();
        Car car=new Truck("A2025","小卡车","小王");
        System.out.println("----------");
        express.send(car);
        System.out.println("----------");
        express.sendAfter(car);
    }
}
